package com.yohann.designPattern.observer.data;

import com.yohann.designPattern.observer.observer.Observer;

/**
 * <p>
 * 信息抽象
 * </p>
 *
 * @author Yohann
 * @since 2021/2/12 17:02
 */
public interface Subject {
    void registerObserver(Observer observer);

    void removeObserver(Observer observer);

    void notifyObserver();
}